package tt.lab.designparttern.builder;

public class Worker {
	private ProductBuilder pb;

	public void buildProduct(){
		pb.createNewProduct();
		pb.buildShape();
		pb.buildTradeMark();
	}
	
	public Product getProduct(){
		return pb.getProduct();
	}
	public void setPb(ProductBuilder pb) {
		this.pb = pb;
	}

	public ProductBuilder getPb() {
		return pb;
	}
	
}
